/*
 * =====================================================================================
 *
 *        Filename:  ICarBuilder.cc
 *
 *        Description:
 *
 *        Version:  1.0
 *        Created:  10/14/21 20:03:37
 *        Revision:  none
 *        Compiler:  gcc
 *
 *        Author:  XXXXXXX (), liushuyong@yidao.com
 *        Company:  YiDao
 *        Copyright:  Copyright 2021, XXXXXXX
 *
 * =====================================================================================
 */
#include <string>
#include "ICarBuilder.h"
#include "Log.h"

using std::string;

static const string TAG = "ICarBuilder";

ICarBuilder::ICarBuilder() {
	mpCar =  new ICar();
    LogI("new");
}

ICarBuilder::~ICarBuilder() {
    LogI("del");
}
    
ICarBuilder& ICarBuilder::setMotor(IMotor*& motor){
	
	return *this;
}
	
ICarBuilder& ICarBuilder::setWheel(IWheel*& wheel) {

	return *this;
}
    

ICarBuilder& ICarBuilder::setBody(IBody*& body) {

	return *this;
}
    
ICar* ICarBuilder::build() {

	return mpCar;
}
